package org.thread.test06.ts.demo05.t01;

/**
 * @author CSY
 * @date 2025 - 03 - 14
 */
public class MainTest {
    public static void main(String[] args) {
        Fruit fruit = new Fruit();

        Box box = new Box();

        BoyThread bt = new BoyThread(box,"张三");
        GirlThread gt = new GirlThread(box,"李四");



        bt.start();
        gt.start();
        gt.setPriority(10);
    }
}
